package com.swordliu.facebook.service;

import com.swordliu.facebook.pojo.entity.User;
import com.swordliu.facebook.service.base.BaseService;

import java.util.List;

/**
 * userService
 * Created by SwordLiu on 2017-07-03.
 */
public interface UserService extends BaseService<User> {

    User getUser(String username) throws Exception;

    Integer regist(User regist) throws Exception;

    List<User> getUsers() throws Exception;
}
